package gatperdut.chato.core.interpreter.grammar.comminfo;

import gatperdut.chato.constants.CSConstantsMovement.Direction;
import gatperdut.chato.core.interpreter.grammar.comminfo.indexedword.IndexedWord;

public class ThrowInfo extends CommandInfo {

    public ThrowInfo() {
        super( CommandType.THROW );
    }

    private IndexedWord what;

    private Direction direction;

    public IndexedWord getWhat() {
        return what;
    }

    public void setWhat( IndexedWord what ) {
        this.what = what;
    }

    public Direction getDirection() {
        return direction;
    }

    public void setDirection( Direction direction ) {
        this.direction = direction;
    }

}
